<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
  import {setUserInfo,setToken} from "./utils/auth"

export default {
  name: 'App',
  mounted() {
    // window.addEventListener('unload', this.saveState);
  },
  methods: {
    // saveState() {
    //   setUserInfo( this.$store.getters.userInfo);
    //   setToken( this.$store.getters.token);
    // }



  }

}
</script>
